package com.lottery.entity;


public class Member {
    private String memberAccount;
    private String memberPassword;
    private String memberEmail;
    private String memberName;
    private String memberPhone;
    private String memberLeader;
    private String memberGroup;
    private String memberNumStatus;//判断是否被锁定
    private String memberSee;
    private String memberRoleid;
    private String flag;

    public String getRoleId() {
        return memberRoleid;
    }

    public void setRoleId(String roleId) {
        this.memberRoleid = roleId;
    }

    public String getMemberAccount() {
        return memberAccount;
    }

    public void setMemberAccount(String memberAccount) {
        this.memberAccount = memberAccount;
    }

    public String getMemberPassword() {
        return memberPassword;
    }

    public void setMemberPassword(String memberPassword) {
        this.memberPassword = memberPassword;
    }

    public String getMemberEmail() {
        return memberEmail;
    }

    public void setMemberEmail(String memberEmail) {
        this.memberEmail = memberEmail;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberPhone() {
        return memberPhone;
    }

    public void setMemberPhone(String memberPhone) {
        this.memberPhone = memberPhone;
    }

    public String getMemberLeader() {
        return memberLeader;
    }

    public void setMemberLeader(String memberLeader) {
        this.memberLeader = memberLeader;
    }

    public String getMemberGroup() {
        return memberGroup;
    }

    public void setMemberGroup(String memberGroup) {
        this.memberGroup = memberGroup;
    }

    public String getMemberNumStatus() {
        return memberNumStatus;
    }

    public void setMemberNumStatus(String memberNumStatus) {
        this.memberNumStatus = memberNumStatus;
    }

    public String getMemberSee() {
        return memberSee;
    }

    public void setMemberSee(String memberSee) {
        this.memberSee = memberSee;
    }

    public boolean getLock() {
        return memberNumStatus=="N"?true:false;   //根据meberNumStatus 判断账号是否被锁定    N没有 Y锁定
    }
    public String getCredentialsSalt() {
        return memberAccount+ memberPassword;
    }

	public String getMemberRoleid() {
		return memberRoleid;
	}

	public void setMemberRoleid(String memberRoleid) {
		this.memberRoleid = memberRoleid;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	@Override
	public String toString() {
		return "Member [memberAccount=" + memberAccount + ", memberPassword=" + memberPassword + ", memberEmail="
				+ memberEmail + ", memberName=" + memberName + ", memberPhone=" + memberPhone + ", memberLeader="
				+ memberLeader + ", memberGroup=" + memberGroup + ", memberNumStatus=" + memberNumStatus
				+ ", memberSee=" + memberSee + ", memberRoleid=" + memberRoleid + ", flag=" + flag + "]";
	}
    
}
